
// THIS FILE ARE GENERATED AUTOMATICALLY
// DO NOT MODIFY

using System;
using System.Collections;
using System.Collections.Generic;
using LightPersist;

namespace Domain1
{
	public partial class A : ModelBase
	{
		public B Content
		{
			get { return GetValue<B>("Content"); }
			set { SetValue(value, "Content"); }
		}

		public int Width
		{
			get { return GetValue<int>("Width"); }
			set { SetValue(value, "Width"); }
		}

		/// <summary>
		/// This property stores weak references
		/// Inverse property for "B.Kids"
		/// </summary>
		public B Parent
		{
			get { return GetValue<B>("Parent"); }
		}

		public ILightListProxy<B> Children
		{
			get { return GetList<B>("Children"); }
		}

		/// <summary>
		/// This property stores weak references
		/// Inverse property for "B.Kids"
		/// </summary>
		public ILightListProxy<B> Parents
		{
			get { return GetList<B>("Parents"); }
		}

		/// <summary>
		/// This property stores weak references
		/// Inverse property for "B.Kids"
		/// </summary>
		public B Parent_ro
		{
			get { return GetValue<B>("Parent_ro"); }
		}

		/// <summary>
		/// This property stores weak references
		/// Inverse property for "B.Kids"
		/// </summary>
		public ILightListProxy<B> Parents_ro
		{
			get { return GetList<B>("Parents_ro"); }
		}

	}

	public partial class B : ModelBase
	{
		public ILightListProxy<A> Kids
		{
			get { return GetList<A>("Kids"); }
		}

	}

	public partial class C : ModelBase
	{
		public LightPersist.ModelBase ModelBaseValue
		{
			get { return GetValue<LightPersist.ModelBase>("ModelBaseValue"); }
			set { SetValue(value, "ModelBaseValue"); }
		}

	}

}
